<!DOCTYPE html><html lang="en"><head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./styles/css/common.css">
    <link rel="stylesheet" href="./styles/css/jbxx.css">
	<title>灵活保险补贴申请记录</title>
	<style>
	.pageTool{
		margin: 22px auto 0;
	}
	</style>
</head>

<body style="position: relative;">
    <script src="http://rsj.beijing.gov.cn/images/rsj_header.js"></script>
    <include src="./include/head.html"></include>
    <div class="message">
        <div class="content">
            <div class="zuo left">
				<div class="titles concommon">
					<a href="./index.html">
						&lt; 首页</a> <span class="on">|</span>
							<span>灵活保险补贴申请记录</span>
				</div>
                <div class="con_ul" id="Detail">
					<!-- <script type="text/html" id="listTem">
						<%if(data.executeResult==1){%>
							<%var _data = data.vbs%>
							<%for(var i = 0; i < _data.length; i++) {%>
						<li>
							<div class="clearfix Li_top">
								<span class="xm"><%=_data[i].xm%></span>
								<span><%=_data[i].sfzhm%></span>

								<%if(_data[i].ywztdm == '06'){%>
								<span class="time right green"><%=_data[i].ywzt%></span>	
								<%}else if(_data[i].ywztdm == '02' || _data[i].ywztdm == '05' || _data[i].ywztdm == '07' || _data[i].ywztdm == '08' || _data[i].ywztdm == '09' || _data[i].ywztdm == '10'){%>
								<span class="time right red"><%=_data[i].ywzt%></span>
								<%}else{%>
									<span class="time right yellow"><%=_data[i].ywzt%></span>
									<%}%>
							</div>
							<p class="dz" style="margin-bottom: 6px;">申请日期：<%=_data[i].sqczsj%></p>
							<%if(_data[i].ywztdm == '06' ||  _data[i].ywztdm == '08' ||  _data[i].ywztdm == '09'){%>
							<p class="dz">补贴享受年月：<%=_data[i].xsksny%> 至 <%=_data[i].xsjsny%></p>
							<%}%>
						</li>
						<%}%>
						<%}%> -->
					<div class="zw">
						暂无记录
					</div>
					<!-- </script> -->
				</div>
				
			</div>
			<include src="./include/right.html"></include>
        </div>
    </div>
    <script src="http://rsj.beijing.gov.cn/footer.js"></script>
    <script src="./common/vendor.js"></script>
	<script src="./common/validator.js"></script>

	<script src="./common/common.js"></script>
	<script src="./common/generaltools.js"></script>
<script>
	$(function () {
		var load = new $.Loading();
		var index = 0;
		getlist();
	// $('#Detail').pageTool({
    //     url: '/jyzk/sqxxjlCx',
    //     type: 'get',
    //      data:{
    //        pageNum: index,
	//        pageSize: 6,
	//        bz:''
    //    },
    //      locator: 'returnData',
    //      callback: function (result) {
	// 		load.off();
    //       var msg = result.returnData;
    //       if (msg.executeResult == '1') {
    //       } else {
    //         $.layerMsg(msg.message, '我知道了', function() {
    //           return false;
    //         });
    //       }
    //     }
	//   })
	  
		function getlist() {
			load.on()
			$.fetch({
				url: '/jyzk/sqxxjlCx',
				type: 'get',
				data: {
					bz:''
				}
			}).done(function (res) {
				var _res = res.returnData;
				if (_res.executeResult == 1) {
					load.off()
					var _html = '';
					var _data = _res.vbs;
					if (!_data) {
						$('.scroll_con').hide();
						$('.zw').show();
						return
					}
					$.each(_data, function (k, v) {
						var _class = 'yellow';
						var _strhtml = '申请补贴年月：';
						if(v.ywztdm == '06'){
							_class = 'green';
						}else if(v.ywztdm == '02'  || v.ywztdm == '05'  || v.ywztdm == '07' || v.ywztdm == '08' || v.ywztdm == '09' || v.ywztdm == '10'){
							_class = 'red';
						}
						if(v.ywztdm == '06'  || v.ywztdm == '08'  || v.ywztdm == '09'){
						_strhtml = '补贴享受年月：'
						}
						_html +=
							'<li>' +
							'<div class="clearfix Li_top">' +
							'<span class="xm" title='+v.xm+'>' + v.xm+ '</span>' +
							'<span >' + v.sfzhm  + '</span>' +
							'<span class="time right '+_class+'">' + v.ywzt + '</span>' +
							'</div>' +
							'<p class="dz" style="margin-bottom: 6px;">申请日期：' + v.sqczsj+'</p>' +
							'<p class="dz">'+_strhtml + v.xsksny + ' 至 ' +v.xsjsny+'</p>' +
							'</li>'
					})
					$('.con_ul').html(_html);
					$('.scroll_con').show();
					$('.zw').hide();
				} else {
					$('.scroll_con').hide();
					$('.zw').show();
					load.off()
				}
			})
		}

	});
</script>


</body></html>